package com.funkids.prxis.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author funkids
 * @since 2023-03-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long userId;

    private Long goodsId;

    private Integer goodsCnt;

    private BigDecimal goodsPrice;

    /**
     * 0:新建未支付;1:已支付;2:未发货;3:已发货;4:已收货;
     */
    private Integer status;

    private LocalDateTime createTime;

    /**
     * 订单支付时间
     */
    private LocalDateTime payTime;


}
